package com.slz3.business.module.wmsManagement.wmsStockDetailItems;

import com.slz3.business.module.wmsManagement.wmsStockDetailItems.steward.WmsStockDetailItemsResponse;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
import org.springframework.web.reactive.function.server.ServerRequest;
import org.springframework.web.reactive.function.server.ServerResponse;
import reactor.core.publisher.Mono;

import javax.annotation.Resource;

@Component
@Order(0)
public class WmsStockDetailItemsHandler {

    @Resource
    private WmsStockDetailItemsResponse wmsStockDetailItemsResponse;

    public Mono<ServerResponse> add(ServerRequest req) {
        return wmsStockDetailItemsResponse.add(req);
    }

    public Mono<ServerResponse> delete(ServerRequest req) {
        return wmsStockDetailItemsResponse.delete(req);
    }

    public Mono<ServerResponse> modify(ServerRequest req) {
        return wmsStockDetailItemsResponse.modify(req);
    }

    public Mono<ServerResponse> list(ServerRequest req) {
        return wmsStockDetailItemsResponse.list(req);
    }

    public Mono<ServerResponse> info(ServerRequest req) {
        return wmsStockDetailItemsResponse.info(req);
    }

    public Mono<ServerResponse> choice(ServerRequest req) {
        return wmsStockDetailItemsResponse.choice(req);
    }

    public Mono<ServerResponse> auditSubmit(ServerRequest req) {
        return wmsStockDetailItemsResponse.auditSubmit(req);
    }

    public Mono<ServerResponse> audit(ServerRequest req) {
        return wmsStockDetailItemsResponse.audit(req);
    }

    public Mono<ServerResponse> auditReject(ServerRequest req) {
        return wmsStockDetailItemsResponse.auditReject(req);
    }

    public Mono<ServerResponse> usingEnable(ServerRequest req) {
        return wmsStockDetailItemsResponse.usingEnable(req);
    }

    public Mono<ServerResponse> usingDisable(ServerRequest req) {
        return wmsStockDetailItemsResponse.usingDisable(req);
    }

}
